package single;

/**
 * @Author longhj
 * @Description 饿汉模式(线程安全)
 * @Date 2021/09/04 星期六 12:25
 */
public class HungryManModeThreadSafety {
    private static HungryManModeThreadSafety hungryManModeThreadSafety = new HungryManModeThreadSafety();

    private HungryManModeThreadSafety() {
    }

    public HungryManModeThreadSafety getHungryManModeThreadSafety() {
        return hungryManModeThreadSafety;
    }

}
